package com.example.find_friend_backend.model.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * @TableName user
 */
@TableName(value = "user")
@Data
public class User implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String username;
    /**
     * 账户
     */
    private String userAccount;
    /**
     * 头像
     */
    private String avatarUrl;

    private Integer gender;

    private String userPassword;

    private String phone;

    private String email;

    private Integer useStatus;

    private Date createTime;

    private Date updateTime;
    @TableLogic
    private Integer isDelete;
    /**
     * 标签列表
     */
    private String tags;

    private Integer userRole;
    /**
     * 星球编号
     */
    private String planetCode;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}